<?php
class Maps extends Controller {
    public function view() {
        $division = $this->uri->segment(3);
        switch ($division)
        {
            case "1" :
            	$this->load->model("common_model");
                $branch_arr = $this->common_model->getBranchByDivisionId(1);
		$data['branch_arr'] = $branch_arr;
		$this->template->load('template', 'map_udapalatha', $data);
                break;

            case "2" :
                $this->template->load('template', 'map_udapalathamc');
                break;

            case "3" :
                $this->template->load('template', 'map_doluwa');
                break;
        }
        //$this->template->load('template', 'about_us');
    }
}
?>
